package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.common.R;
import com.itheima.reggie.dto.DishDto;
import com.itheima.reggie.entity.Dish;

import java.util.List;

public interface DishService extends IService<Dish> {

    public R saveWithFlavor(DishDto dishDto);
    public R getByIdDish(Long id);

    R updateDish(DishDto dishDto);

    R updateDishStatus(int id, Long[] ids);

    R deleteDish(List<Long> ids);
}
